package com.example.amazing_wangjj.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

//POJO类 SealSampleInfo
//封样桶信息的数据结构，包含id、瓶盖码、瓶身码、材料类型、适用月份、申请时间和企业编码
public class SealSampleInfo {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String bottleCapCode; // 瓶盖码
    private String bottleBodyCode; // 瓶身码
    private String materialType; // 材料类型
    private String applicableMonth; // 适用月份
    private String applyTime; // 申请时间
    private String companyCode; // 企业编码

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getBottleCapCode() {
        return bottleCapCode;
    }

    public void setBottleCapCode(String bottleCapCode) {
        this.bottleCapCode = bottleCapCode;
    }

    public String getBottleBodyCode() {
        return bottleBodyCode;
    }

    public void setBottleBodyCode(String bottleBodyCode) {
        this.bottleBodyCode = bottleBodyCode;
    }

    public String getMaterialType() {
        return materialType;
    }

    public void setMaterialType(String materialType) {
        this.materialType = materialType;
    }

    public String getApplicableMonth() {
        return applicableMonth;
    }

    public void setApplicableMonth(String applicableMonth) {
        this.applicableMonth = applicableMonth;
    }

    public String getApplyTime() {
        return applyTime;
    }

    public void setApplyTime(String applyTime) {
        this.applyTime = applyTime;
    }

    public String getCompanyCode() {
        return companyCode;
    }

    public void setCompanyCode(String companyCode) {
        this.companyCode = companyCode;
    }

    public SealSampleInfo() {
    }

    public SealSampleInfo(String bottleCapCode) {
        this.bottleCapCode = bottleCapCode;
    }

    public SealSampleInfo(Long id, String bottleCapCode, String bottleBodyCode, String materialType,
                         String applicableMonth, String applyTime, String companyCode) {
        this.id = id;
        this.bottleCapCode = bottleCapCode;
        this.bottleBodyCode = bottleBodyCode;
        this.materialType = materialType;
        this.applicableMonth = applicableMonth;
        this.applyTime = applyTime;
        this.companyCode = companyCode;
    }
}